<!--ISI MULAI-->
<div class="beftabel">
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td><table width="400" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="namaform"><div class="namaorang-u"><?php echo $nama?></div>
                            <div class="namaorang2"><?php echo $nohp?> | <?php echo $no_cic?></div></td>
                    </tr>
                    <tr>
                        <td class="bordertebal"><table width="400" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td><div class="namaorang3">Mendaftar pada Pelatihan</div>
                                        <div class="namaorang"><?php echo $kelas?></div></td>
                                </tr>
                                <tr>
                                    <td><div class="namaorang3">Biaya Pelatihan</div>
                                        <div class="namaorang">Rp <?php echo  number_format($biaya, 0, ',', '.') ?></div></td>
                                </tr>
                                <tr>
                                    <td><div class="namaorang3">Diskon</div>
                                        <div class="namaorang"><?php echo $diskon?> %</div></td>
                                </tr>
                                <tr>
                                    <td><div class="garishor"></div></td>
                                </tr>
                                <tr>
                                    <td><div class="namaorang3">Biaya Setelah Diskon</div>
                                        <div class="namaorang">Rp <?php echo  number_format($bayar, 0, ',', '.')?></div></td>
                                </tr>
                                <tr>
                                    <td><div class="garishor"></div></td>
                                </tr>
                                <?php if($sudah_bayar!='') {?>
                                <tr>
                                    <td><div class="namaorang3">Biaya yang Sudah Dibayar</div>
                                        <div class="namaorang">Rp <?php echo  number_format($sudah_bayar, 0, ',', '.')?></div></td>
                                </tr>
                                <tr>
                                    
                                    <td><div class="garishor"></div></td>
                                </tr>
                                 <?php }?>
                                <tr>
                                    <td><div class="namaorang3">Biaya yang Belum Dibayar</div>
                                        <div class="namaorang">Rp <?php echo  number_format(($bayar - $sudah_bayar), 0, ',', '.')?></div></td>
                                </tr>
                            </table></td>
                    </tr>
                </table></td>
            <td valign="top" class="jarak">&nbsp;</td>
            <td valign="top" class="tempatbutton">
                <?php if($this->session->userdata('status')=='SEDANG'){?>
                <div class="tempatbutton3">
                    <input onClick="location.href='<?php echo base_url()?>pendaftaran/daftar_con/bayar/<?php echo $id?>/<?php echo $pelatihan?>/<?php echo $angkatan?>'" name="button" type="submit" class="save" id="button" value="Bayar" />
                </div>
                <?php } ?>
                <div class="tempatbutton3">
                    <input onClick="location.href='<?php echo base_url()?>pendaftaran/daftar_con/history/<?php echo $id?>/<?php echo $pelatihan?>/<?php echo $angkatan?>'" name="button" type="submit" class="save" id="button" value="History" />
                </div>
                <?php if($this->session->userdata('status')=='SEDANG'){?>
                <div class="tempatbutton3">
                    <input onClick="location.href='<?php echo base_url()?>pendaftaran/daftar_con/edit_data/<?php echo $id?>/<?php echo $pelatihan?>/<?php echo $angkatan?>'" name="button" type="submit" class="save" id="button" value="Edit" />
                </div>
                <?php } ?>
                <?php if($this->session->userdata('status')=='SEDANG'){?>
                <div class="tempatbutton3">
                    <input onClick="location.href='<?php echo base_url()?>pendaftaran/daftar_con/administrasi/<?php echo $id?>/<?php echo $pelatihan?>/<?php echo $angkatan?>'" name="button" type="submit" class="save" id="button" value="Admin" />
                </div>
                <?php } ?>
            </td>
        </tr>
    </table>
</div>

</div>
</td>
<td class="b6"></td>
</tr>
<tr>
    <td class="b4"></td>
    <td class="b5">    <div class="footer2">Copyright &copy;2011 CIC Team | Credits</div></td>
    <td class="b6"></td>
</tr>
<tr>
    <td id="b7"></td>
    <td id="b8"></td>
    <td id="b9"></td>
</tr>
</table>
